<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>


    <script>

        // var list = [1, 2, 3, 4, 5];
        // body = {
        //     errcode: 1,
        //     errmsg: 'ok',
        //     list: list
        // }
        

        var names = ['Bob', 'Smith'];

        var person = {
            // names
            // 1
            // age: 32,
            // gender: 'male',
            // interests: ['music', 'skiing'],
            // bio: function () {
            //     alert(this.name[0] + ' ' + this.name[1] + ' is ' + this.age + ' years old. He likes ' + this.interests[0] + ' and ' + this.interests[1] + '.');
            // },
            // greeting: function () {
            //     alert('Hi! I\'m ' + this.name[0] + '.');
            // }
        };



        // console.log(body);

    </script>


</body>

</html>